﻿//-----------------------------------------------------------------------
// <copyright file="DataExpressException.cs" company="Craig Longford">
//     Copyright (c) Craig Longford. All rights reserved.
//     Email: deltawolf7@gmail.com
//     WWW: http://www.deltasblog.co.uk
// </copyright>
//-----------------------------------------------------------------------

namespace Delta.Data.DataExpress
{
    using System;

    /// <summary>
    /// Data Express Exception
    /// </summary>
    [Serializable]
    public class DataExpressException : Exception
    {
        #region Constructors
        /// <summary>
        /// Initializes a new instance of the DataExpressException class.
        /// </summary>
        public DataExpressException()
            : base()
        {
        }

        /// <summary>
        /// Initializes a new instance of the DataExpressException class.
        /// </summary>
        /// <param name="message">Exception message</param>
        public DataExpressException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// Initializes a new instance of the DataExpressException class.
        /// </summary>
        /// <param name="message">Exception message</param>
        /// <param name="innerException">Inner exception</param>
        public DataExpressException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
        #endregion
    }
}
